﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using IHISCETeim.Library;
using System.Data.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using Microsoft.Practices.EnterpriseLibrary.Data.Sql;
using IHISCETeim.Model;

namespace IHISCETeim.DAL
{
    public  class SKuaiDi100DAL
    {
        /// <summary>
        /// 获取所有快递公司
        /// </summary>
        /// <returns></returns>
        public static DataTable GetAll()
        {
            Database DB = DatabaseFactory.CreateDatabase();

            DbCommand dbCommand = DB.GetStoredProcCommand("SKuaiDiCompany_GetALL");
            return DB.ExecuteDataSet(dbCommand).Tables[0];
        }
    }
}
